-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V1 fix entrypoint schema #613
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests need to be updated to incorporate the python client.
Add the similar fix for plugins and parameters.
@@ -151,8 +151,10 @@ class EntrypointMutableFieldsSchema(Schema): | |||
fields.Integer(), | |||
attribute="queue_ids", | |||
data_key="queues", | |||
allow_none=True, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not necessary
metadata=dict(description="The queue for the entrypoint."), | ||
load_only=True, | ||
load_default=list(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not quite right, should be just list
.
Part of docs showing that a callable can be used in load_default/dump_default argument: https://marshmallow.readthedocs.io/en/stable/quickstart.html#specifying-defaults
495a710
to
af63c1c
Compare
Allows for registration of entrypoints without including queues in request. Test coverage added.